home *** CD-ROM | disk | FTP | other *** search
/ InterCD 2000 September / september_2000.iso / intercd / root / ^Linux / cdrtools-1.10 / libhfs_iso / volume.h < prev   
Encoding:
Text File  |  2000-03-05  |  1.8 KB  |  46 lines

  1. /*
  2.  * hfsutils - tools for reading and writing Macintosh HFS volumes
  3.  * Copyright (C) 1996, 1997 Robert Leslie
  4.  *
  5.  * This program is free software; you can redistribute it and/or modify
  6.  * it under the terms of the GNU General Public License as published by
  7.  * the Free Software Foundation; either version 2 of the License, or
  8.  * (at your option) any later version.
  9.  *
  10.  * This program is distributed in the hope that it will be useful,
  11.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.  * GNU General Public License for more details.
  14.  *
  15.  * You should have received a copy of the GNU General Public License
  16.  * along with this program; if not, write to the Free Software
  17.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18.  */
  19.  
  20. int v_catsearch        __PR((hfsvol *, long, char *, CatDataRec *, char *, node *));
  21. int v_extsearch        __PR((hfsfile *, unsigned int, ExtDataRec *, node *));
  22.  
  23. int v_getthread        __PR((hfsvol *, long, CatDataRec *, node *, int));
  24.  
  25. # define v_getdthread(vol, id, thread, np)  \
  26.     v_getthread(vol, id, thread, np, cdrThdRec)
  27. # define v_getfthread(vol, id, thread, np)  \
  28.     v_getthread(vol, id, thread, np, cdrFThdRec)
  29.  
  30. int v_putcatrec        __PR((CatDataRec *, node *));
  31. int v_putextrec        __PR((ExtDataRec *, node *));
  32.  
  33. int v_allocblocks    __PR((hfsvol *, ExtDescriptor *));
  34. void v_freeblocks    __PR((hfsvol *, ExtDescriptor *));
  35.  
  36. int v_resolve        __PR((hfsvol **, char *, CatDataRec *, long *, char *, node *));
  37.  
  38. void v_destruct        __PR((hfsvol *));
  39. int v_getvol        __PR((hfsvol **));
  40. int v_flush        __PR((hfsvol *, int));
  41.  
  42. int v_adjvalence    __PR((hfsvol *, long, int, int));
  43. int v_newfolder        __PR((hfsvol *, long, char *));
  44.  
  45. int v_scavenge        __PR((hfsvol *));
  46.